/**
 * 
 */
package model;

/**
 * Different type of error pop up that can be display. Basically for each type it can be display as
 * a string with a predefined prefix and suffix.
 * 
 * @author GRONOWSKI Stephane svan001@aol.com
 * 
 *         igsat 2010
 * 
 */
public enum EErrorPopUp {
	ERROR_FILE_STAT_CNF ("A error occur with the file : ", "Please check everything is good with the file and try again later."),
	ERROR_CLOSE_CNF ("A error occur closing the cnf : ", ""),
	ERROR_REMOVE_PREPROC ("A error occur removing the preprocessor : ",
			"the preprocessor result lead to a CNF that possess a running execution.\nPlease end all the execution first."),
	ERROR_OPEN_CNF ("A error occur openinging the cnf : ", "Please check everything is good with the file and try again later."),
	ERROR_CLOSE_SESSION ("A error occur closing the session ", ""),
	ERROR_OPEN_IG_SESSION ("A error occur openinging the session with the GUI : ", "Please check everything is good and try again later."),
	ERROR_CLOSE_IG_SESSION ("A error occur closing the session with the GUI : ", ""),
	FATAL_ERROR ("A fatal error occur : ",
			"If this message show up it means that we can garranty the good behavivior and execution of this program, please close the program");

	private String	prefix;
	private String	suffix;

	private EErrorPopUp(String prefix, String suffix) {
		this.prefix = prefix;
		this.suffix = suffix;
	}

	/**
	 * @return the prefix
	 */
	public String getPrefix() {
		return prefix;
	}

	/**
	 * @return the suffix
	 */
	public String getSuffix() {
		return suffix;
	}
}
